import http from '../request'
/* 查询首页信息 */
export const queryHome = () => http({ url: '/home' })
    /* 查询商品数据 */
export const queryGoods = (params) => http({ url: '/home/queryGoods', params })
    /* 根据商品id查询 */
export const queryGoodsById = (params) =>
    http({ url: '/home/queryGoodsById', params })